#pragma once

#include <memory>
#include <mutex>
#include "json.h"

class CurtainManager{
public:
    using Ptr = std::shared_ptr<CurtainManager>; 
    static Ptr Instance();
    CurtainManager();

    ~CurtainManager();

    void RegistRPC();
private:
    bool CloseCurrentLayout(const Json::Value& req_params, Json::Value& res_result, std::string& errinfo, int& errorCode);
};